import { useRoutes } from 'react-router-dom'
// 引入路由数组
import routes from './router/index'
function App() {
    return (
        <div>
            {/* 注册路由 */}
            {useRoutes(routes)}
        </div>
    );
}
export default App;